package com.pig4cloud.pig.village.api.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

/**
 * @author limbray.li
 * @date 2021/7/10
 */
@Data
@ApiModel("红黑榜事件提交")
public class RewardNoFiles{
	@ApiModelProperty(value = "事件时间")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime eventTime;
	@ApiModelProperty(value = "事件地点")
	private String address;
	@ApiModelProperty(value = "责任小组id")
	private Long teamId;
	@ApiModelProperty(value = "责任户id")
	private Long familyId;
	@ApiModelProperty(value = "事件类型id，福利id")
	private Long welfareId;
	@ApiModelProperty(value = "记录人id")
	private Long rewardUserId;
	@ApiModelProperty(value = "责任人id")
	private Long user;
	@ApiModelProperty(value = "事件概述")
	private String eventDesc;
	@ApiModelProperty(value = "红黑榜",notes = "0:红榜，1:黑榜")
	private Integer punishment;
	@ApiModelProperty(value = "重大违规类型(SubCode)")
	private String violationSubCode;
}
